def extract_strings(src_code: str):
    result = []
    current_string = ""
    state = "INITIAL"
    
    i = 0
    while i < len(src_code):
        char = src_code[i]
        
        if state == "INITIAL":
            if char == '"':
                state = "STRING_START"
        elif state == "STRING_START":
            if char == '"':
                result.append(current_string)  # 记录完整的字符串
                current_string = ""  # 重置当前字符串
                state = "INITIAL"  # 回到初始状态
            elif char == '\\':
                state = "ESCAPED"  # 进入转义状态
            else:
                current_string += char  # 继续构建字符串
        elif state == "ESCAPED":
            current_string += char  # 添加转义字符后面的字符
            state = "STRING_START"  # 返回到字符串状态
            
        i += 1  # 继续读取下一个字符

    return result